package com.hngtrust.iir.base.service.impl;/*******************************************************************************
 * Package: com.hngtrust.iir.base.service.impl
 * Type:    BazheServiceImpl
 * Date:    2022/1/6 17:23
 *
 * Copyright (c) 2022 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/

import com.hngtrust.iir.base.entity.Shop;
import com.hngtrust.iir.base.mapper.BazheMapper;
import com.hngtrust.iir.base.service.BazheService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * TODO your comment
 *
 * @author Wangheng
 * @date 2022/1/6 17:23
 */
@Service
public class BazheServiceImpl implements BazheService {
    @Autowired
    private BazheMapper bazheMapper;
    
    
    @Override
    public Shop queryById(Integer id) {
        return bazheMapper.queryById(id);
    }
    
    @Override
    public List<Shop> queryList(Shop shop) {
        return bazheMapper.queryList(shop);
    }
    
    @Override
    public void add(Shop shop) {
        bazheMapper.add(shop);
    }
    
    @Override
    public int modifyById(Shop shop) {
        int i = bazheMapper.modifyById(shop);
        return i;
    }
    
    @Override
    public int deleteById(Integer id) {
        int i = bazheMapper.deleteById(id);
        return i;
    }
    
    @Override
    public List<Shop> queryShop(Shop shop) {
      return   bazheMapper.queryShop(shop);
    }
    
    @Override
    public List<Shop> queryByIds(List<Integer> ids) {
        return bazheMapper.queryByIds(ids);
    }
}
